#include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <unistd.h>
#include <pthread.h>
#include "LockGuard.hpp"

using namespace std;

#define NUM 4

pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;

class threadData
{
public:
    threadData(int number /*, pthread_mutex_t *mutex*/)
    {
        threadname = "thread-" + to_string(number);
        // lock = mutex;
    }

public:
    string threadname;
    // pthread_mutex_t *lock;
};

int main()
{
    vector<pthread_t> tids;
    vector<threadData*> thread_dates;
    for(int i = 0;i<NUM;i++)
    {
        pthread_t tid;
        pthread_create(&tid,nullptr,)
    }


    return 0;
}